﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 畜牧业审核程序国产.Models.DataGridMsgs
{

    internal partial class AddNewFormulaMsgs : ObservableObject
    {
        [ObservableProperty]
        private string? _tableRelation;
        [ObservableProperty]
        private string? _severity;
        [ObservableProperty]
        private string? _formulaEnable;
        [ObservableProperty]
        private string? _formulaName;
        [ObservableProperty]
        private string? _formulaDescription;
        [ObservableProperty]
        private string? _sqlStatement;
        [ObservableProperty]
        private string? _addedByUser;
        public AddNewFormulaMsgs(string 表间关系, string 严重度, string 是否启用, string 审核公式名称, string 审核公式说明, string 审核公式sql语句, string 用户新增)
        {
            this.TableRelation = 表间关系;
            this.Severity = 严重度;
            this.FormulaEnable = 是否启用;
            this.FormulaName = 审核公式名称;
            this.FormulaDescription = 审核公式说明;
            this.SqlStatement = 审核公式sql语句;
            this.AddedByUser = 用户新增;
        }
        public AddNewFormulaMsgs()
        {

        }

    }
}
